/*
 * Copyright (c) 2015—2030 GantSoftware.Co.Ltd. All rights reserved.
 *  <p>
 *  Unless required by applicable law or agreed to in writing, software
 *  is not allowed to be distributed or copied without the license from
 *  GantSoftware.Co.Ltd. Please contact the company for more information.
 */
package com.gantang.gax.engine.service.impl;

import com.gantang.gax.engine.eo.Engine;
import com.gantang.gax.engine.model.EngineCreator;
import com.gantang.gax.engine.service.AbstractEngineCreatorService;
import com.gantang.gax.engine.service.EngineCreatorService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service("arithEngineCreatorService")
public class ArithEngineCreatorServiceImpl extends AbstractEngineCreatorService implements EngineCreatorService {
    @Override
    public Boolean valid(EngineCreator engineCreator) {
        return false;
    }

    @Override
    public Engine create(EngineCreator engineCreator) {
        log.info("arithEngineService.startTask");
        return null;
    }

    @Override
    public Engine asyncCreate(EngineCreator data) {
        log.info("arithEngineService.startAsyncTask");
        return null;
    }
}
